home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-21 | 790 b | 34 lines | [TEXT/LMAN] |
- <<<
- global movieDir := theStartDir
- global movieFile := undefined
-
- if (isThere thestartdir "audio-video/Suckomatic Flat") then
- (
- movieFile := "audio-video/Suckomatic Flat"
- )
- else
- if (isThere thestartdir "audi-vid/suckoflt.mov") then
- (
- movieFile := "audi-vid/suckoflt.mov"
- )
- else
- (
- local thePanel := new OpenPanel
- openFilePanel thePanel
- movieFile := thePanel.filename
- movieDir := theRootDir
- )
-
- global qtplayer := new QuickTimePlayer dir:movieDir filename:movieFile
- global tpBounds := qtplayer.boundary.bbox
- global spc := new window bbox:(new rect x1:40 y1:40 \
- x2:((tpBounds.width) + 40) \
- y2:((tpBounds.height) + 40))
- show spc
- spc.fill := blackBrush
- spc.clock.scale := 30
-
- append spc qtplayer
- playPrepare qtplayer 1.0
- >>>
-